﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynamicLinqExtensionsTest.ModelTest
{
    public class Person
    {
        public Person()
        {
            BirthDate = DateTime.Now;
            BirthDate2 = DateTime.Now;
        }
        public Person(int id, string firstName, string lastName) : this()
        {
            Id = id;
            FirstName = firstName;
            LastName = lastName;
            TestGuid = Guid.NewGuid();
            Money = Id*33.3M;
            TestNullableGuid = Guid.NewGuid();
        }
        public int Id { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public decimal Money { get; set; }
        public Guid TestGuid { get; set; }

        public Guid? TestNullableGuid { get; set; }
        public DateTime BirthDate { get; set; }
        public DateTime? BirthDate2 { get; set; }
    }
}
